<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');

// import Joomla modelitem library
jimport('joomla.application.component.modelitem');

/**
 * HelloWorld Model
 */
class WebteamModelWebteam extends JModelItem
{
	
	public function getMsg()
	{
		
		$db = JFactory::getDbo();
		$sql = "SELECT * FROM #__content WHERE catid = 8";
		
		return $sql;exit;
		
		$db->setQuery($sql);
		return  $db->loadObjectList();	
		
		
	}

}